package edu.tsinghua.eea.powermanagement.data;

import java.util.Date;

public class PCDataCell {
	private Date mDate;
	private float mPower;
	
	public PCDataCell(){
		this(new Date(), 0.0f);
	}
	
	public PCDataCell(Date d, float p){
		setDate(d);
		setPower(p);
	}
	
	public void setDate(Date d){
		mDate = (Date)d.clone();
	}
	public Date getDate(){
		return (Date)mDate.clone();
	}
	
	public void setPower(float p){
		mPower = p;
	}
	public float getPower(){
		return mPower;
	}
}
